/**
 * @author wangning 20180414
 */
import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'elevator-secure-state',
  templateUrl: './elevator-secure-state.html',
  styleUrls: ['./elevator-secure-state.scss']
})

export class ElevatorSecureState implements OnInit {
  sysUser: any = JSON.parse(window.localStorage.getItem('user'));
  showMenu:boolean;
  showFlag = 0;
  constructor(
  ) {
  }
  ngOnInit() {
    if (this.sysUser.partyType == '4'||this.sysUser.partyType==null) {
      this.showMenu = true;
    } else {
      this.showMenu = false;      
    }
  }

  selectChanged(event){
    this.showFlag = event;
  }
}
